package com.wego.upms.service;

import com.wego.common.base.BaseService;
import com.wego.upms.model.UpmsUserRole;
import com.wego.upms.model.UpmsUserRoleExample;

/**
* UpmsUserRoleService接口
* Created by Lee on 2018/3/5.
*/
public interface UpmsUserRoleService extends BaseService<UpmsUserRole, UpmsUserRoleExample > {

    /**
     * 用户角色
     * @param roleIds 角色ids
     * @param id 用户id
     * @return
     */
    int role ( String[] roleIds, int id );

}